package com.wy2cloud.core.tools;

/**
 * 文件辅助工具�?
 * @author wyy
 *@version 2016-3-18
 */
public final class FileTools {

	/**
	 * 返回文件扩展�?
	 * @param fileName
	 * @return
	 */
	public static String getExtendName(String fileName){
		int postion=fileName.lastIndexOf(".");
		if(postion>-1){
			return fileName.substring(postion+1);
		}
		return StringTools.Empty;
	}
}
